package com.yubest.designpattern.create.factory.abstractfactory;

import com.yubest.designpattern.create.factory.bean.Money;
import com.yubest.designpattern.create.factory.bean.Product;

/**
 * 抽象工厂
 *
 * @Author: hweiyu
 * @Date: 2022/10/26 11:39
 */
public abstract class AbstractFactory {

    /**
     * 买产品
     * @return
     */
    public abstract Product buyProduct();

    /**
     * 使用钱
     * @return
     */
    public abstract Money useMoney();

}
